package com.tao.lab.power.usb.model;

/**
 * title:
 * description:
 * @author gongmin.li
 * @version 1.0.0
 * @since 2020-05-07
 */
public enum DeviceType {
    SERIAL_0000("未知设备", "0000"),
    SERIAL_8888("讯飞MT8516串口", "8888"),
    SERIAL_9980("停障超声波", "9980"),
    SERIAL_9111("GPS传感器", "9111"),
    SERIAL_9888("上身电机", "9888"),
    //测温传感器
    //未统一
    SERIAL_0999("杭然_测温传感器", "0999"),
    //后期统一
    SERIAL_9889("源建测温传感器", "9889"),
    SERIAL_9887("大立测温传感器", "9887"),
    //眼睛
    //未统一
    SERIAL_0001("穿山甲_眼睛", "0001"),
    SERIAL_0002("衢州_左眼", "0002"),
    SERIAL_0003("衢州_右眼", "0003"),
    //后期统一
    SERIAL_9221("左眼", "9221"),
    SERIAL_9222("右眼", "9222"),
    //整个导航
    DEVICE_GUIDE("导航", "DEVICE_GUIDE");

    private String enumName;
    private String enumValue;

    DeviceType(String enumName, String enumValue) {
        this.enumName = enumName;
        this.enumValue = enumValue;
    }

    public String getEnumName() {
        if (null == enumName) {
            enumName = "";
        }
        return enumName;
    }

    public void setEnumName(String enumName) {
        this.enumName = enumName;
    }

    public String getEnumValue() {
        if (null == enumValue) {
            enumValue = "";
        }
        return enumValue;
    }

    public void setEnumValue(String enumValue) {
        this.enumValue = enumValue;
    }

}